package myky.com.doctorapp.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Description:
 *
 * @author wuyangwuyang
 * Created by 2019/3/19 on 17:40
 */
public class FollowRecordEntity implements Serializable{

    /**
     * code : 1
     * msg : 成功
     * data : {"doctorid":1,"realname":"马紫缐1","allrecordcount":10,"completedrecord":10,"followrecordlist":[{"userquestionnairehistoryid":277,"title":"张亚梅问诊表","sendtime":1545734199000,"inputtime":1545204884000,"ifinput":1,"htmlVersion":"v1"},{"userquestionnairehistoryid":287,"title":"张亚梅问诊表","sendtime":1545734199000,"inputtime":1545204884000,"ifinput":1,"htmlVersion":"v1"},{"userquestionnairehistoryid":288,"title":"张亚梅问诊表","sendtime":1545734199000,"inputtime":1545204884000,"ifinput":1,"htmlVersion":"v1"},{"userquestionnairehistoryid":289,"title":"张亚梅问诊表","sendtime":1545734199000,"inputtime":1545204884000,"ifinput":1,"htmlVersion":"v1"},{"userquestionnairehistoryid":290,"title":"张亚梅问诊表","sendtime":1545734199000,"inputtime":1545204884000,"ifinput":1,"htmlVersion":"v1"},{"userquestionnairehistoryid":291,"title":"张亚梅问诊表","sendtime":1545734199000,"inputtime":1545204884000,"ifinput":1,"htmlVersion":"v1"},{"userquestionnairehistoryid":292,"title":"张亚梅问诊表","sendtime":1545734199000,"inputtime":1545204884000,"ifinput":1,"htmlVersion":"v1"},{"userquestionnairehistoryid":293,"title":"张亚梅问诊表","sendtime":1545734199000,"inputtime":1545204884000,"ifinput":1,"htmlVersion":"v1"},{"userquestionnairehistoryid":294,"title":"张亚梅问诊表","sendtime":1545734199000,"inputtime":1545204884000,"ifinput":1,"htmlVersion":"v1"},{"userquestionnairehistoryid":295,"title":"张亚梅问诊表","sendtime":1545734199000,"inputtime":1545204884000,"ifinput":1,"htmlVersion":"v1"}]}
     * version : v1.0
     * size : 10
     * pages : 2
     * current : 1
     * total : 11
     */

    private int code;
    private String msg;
    private DataBean data;
    private String version;
    private int size;
    private int pages;
    private int current;
    private int total;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public static class Params{

        String version;
        int doctorid;
        int current;
        int size;

        public int getCurrent() {
            return current;
        }

        public void setCurrent(int current) {
            this.current = current;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public String getVersion() {
            return version;
        }

        public void setVersion(String version) {
            this.version = version;
        }

        public int getDoctorid() {
            return doctorid;
        }

        public void setDoctorid(int doctorid) {
            this.doctorid = doctorid;
        }
    }

    public static class DataBean implements Serializable{
        /**
         * doctorid : 1
         * realname : 马紫缐1
         * allrecordcount : 10
         * completedrecord : 10
         * followrecordlist : [{"userquestionnairehistoryid":277,"title":"张亚梅问诊表","sendtime":1545734199000,"inputtime":1545204884000,"ifinput":1,"htmlVersion":"v1"},{"userquestionnairehistoryid":287,"title":"张亚梅问诊表","sendtime":1545734199000,"inputtime":1545204884000,"ifinput":1,"htmlVersion":"v1"},{"userquestionnairehistoryid":288,"title":"张亚梅问诊表","sendtime":1545734199000,"inputtime":1545204884000,"ifinput":1,"htmlVersion":"v1"},{"userquestionnairehistoryid":289,"title":"张亚梅问诊表","sendtime":1545734199000,"inputtime":1545204884000,"ifinput":1,"htmlVersion":"v1"},{"userquestionnairehistoryid":290,"title":"张亚梅问诊表","sendtime":1545734199000,"inputtime":1545204884000,"ifinput":1,"htmlVersion":"v1"},{"userquestionnairehistoryid":291,"title":"张亚梅问诊表","sendtime":1545734199000,"inputtime":1545204884000,"ifinput":1,"htmlVersion":"v1"},{"userquestionnairehistoryid":292,"title":"张亚梅问诊表","sendtime":1545734199000,"inputtime":1545204884000,"ifinput":1,"htmlVersion":"v1"},{"userquestionnairehistoryid":293,"title":"张亚梅问诊表","sendtime":1545734199000,"inputtime":1545204884000,"ifinput":1,"htmlVersion":"v1"},{"userquestionnairehistoryid":294,"title":"张亚梅问诊表","sendtime":1545734199000,"inputtime":1545204884000,"ifinput":1,"htmlVersion":"v1"},{"userquestionnairehistoryid":295,"title":"张亚梅问诊表","sendtime":1545734199000,"inputtime":1545204884000,"ifinput":1,"htmlVersion":"v1"}]
         */

        private int doctorid;
        private String realname;
        private int allrecordcount;
        private int completedrecord;
        private List<FollowrecordlistBean> followrecordlist;

        public int getDoctorid() {
            return doctorid;
        }

        public void setDoctorid(int doctorid) {
            this.doctorid = doctorid;
        }

        public String getRealname() {
            return realname;
        }

        public void setRealname(String realname) {
            this.realname = realname;
        }

        public int getAllrecordcount() {
            return allrecordcount;
        }

        public void setAllrecordcount(int allrecordcount) {
            this.allrecordcount = allrecordcount;
        }

        public int getCompletedrecord() {
            return completedrecord;
        }

        public void setCompletedrecord(int completedrecord) {
            this.completedrecord = completedrecord;
        }

        public List<FollowrecordlistBean> getFollowrecordlist() {
            return followrecordlist;
        }

        public void setFollowrecordlist(List<FollowrecordlistBean> followrecordlist) {
            this.followrecordlist = followrecordlist;
        }

        public static class FollowrecordlistBean implements Serializable {
            /**
             * userquestionnairehistoryid : 277
             * title : 张亚梅问诊表
             * sendtime : 1545734199000
             * inputtime : 1545204884000
             * ifinput : 1
             * htmlVersion : v1
             */

            private int userquestionnairehistoryid;
            private String title;
            private long sendtime;
            private long inputtime;
            private int ifinput;
            private String htmlVersion;

            public int getUserquestionnairehistoryid() {
                return userquestionnairehistoryid;
            }

            public void setUserquestionnairehistoryid(int userquestionnairehistoryid) {
                this.userquestionnairehistoryid = userquestionnairehistoryid;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public long getSendtime() {
                return sendtime;
            }

            public void setSendtime(long sendtime) {
                this.sendtime = sendtime;
            }

            public long getInputtime() {
                return inputtime;
            }

            public void setInputtime(long inputtime) {
                this.inputtime = inputtime;
            }

            public int getIfinput() {
                return ifinput;
            }

            public void setIfinput(int ifinput) {
                this.ifinput = ifinput;
            }

            public String getHtmlVersion() {
                return htmlVersion;
            }

            public void setHtmlVersion(String htmlVersion) {
                this.htmlVersion = htmlVersion;
            }
        }
    }
}
